import React from 'react';
import base64url from "base64url";
import { connect } from 'dva'
import { routerRedux } from 'dva/router';
import { Icon, List, WhiteSpace, TextareaItem, Tabs} from 'antd-mobile';
import { createForm } from 'rc-form';
import banner from '../../../../assets/work/dsb.jpg';
import styles from './taskparticulars.less';


const  Item= List.Item;
class taskparticulars extends React.Component{
  constructor(props){
    super(props);
    this.state={

    }
  }

  render(){
    const { getFieldProps } = this.props.form;
    return(
      <div>
        <WhiteSpace/>
        <List>
          <Item>赴机场集团调研督导</Item>

          <TextareaItem
            {...getFieldProps('note1')}
            rows={6}
            placeholder="这里是任务详情描述，这里是任务详情描述，这里是任务详情描述，这里是任务详情描述，这里是任务详情描述，这里是任务详情描述，这里是任务详情描述，这里是任务详情描述，这里是任务详情描述，"
          />
        </List>
          <WhiteSpace/>
          <List className="date-list">
            <Item extra={'2017-09-30 15:30'}>开始时间</Item>
            <Item extra={'2017-09-30 15:30'}>开始时间</Item>
          </List>
        <WhiteSpace/>
        <List className="Head-portrait">
        <Item
          thumb={banner}
          onClick={() => {}}
          extra={'2017-09-28 15:30'}
        >上级姓名  发布了任务</Item>
        </List>
      </div>
    )
  }
}

function mapStateToProps({mine}) {//models
  return {mine}
}
const taskparticularx = createForm()(taskparticulars);
export default connect(mapStateToProps)(taskparticularx);
